package com.bringway.p2p.service.impl;

import java.util.List;
import java.util.Map;

import net.sf.json.JSONObject;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.bringway.p2p.dao.UserdzDao;
import com.bringway.p2p.service.UserdzService;


/**
 * 
 * @author zhai
 * @version 创建时间：2015年12月16日 上午9:34:42
 * @功能：债权收益界面
 */

@Service
@Transactional
public class UserdzServiceImpl  implements UserdzService{

	
	@Autowired
	UserdzDao userdzDao;
	@Override
	public List<Map<String, Object>> queryUserdz(JSONObject params) {
		// TODO Auto-generated method stub
		return userdzDao.queryUserdzList(params);
	}

	@Override
	public int getUserdzCount(JSONObject params) {
		// TODO Auto-generated method stub
		return userdzDao.getUserdzCount(params);
	}

	@Override
	public List queryAllJe(String username) {
		// TODO Auto-generated method stub
		return userdzDao.queryAllJe(username);
	}

	@Override
	public List queryCZJE(String username) {
		// TODO Auto-generated method stub
		return userdzDao.queryCZJE(username);
	}

	@Override
	public Map<String, Object> queryTxSxf(String username) {
		// TODO Auto-generated method stub
		return userdzDao.queryTxSxf(username);
	}

	@Override
	public Map<String, Object> queryDianJuan(String username) {
		// TODO Auto-generated method stub
		return userdzDao.queryDianJuan(username);
	}

}
